import fetch from 'utils/fetch';

/**
 *  params = {
        pageIndex:0,
        pageSize:20,
        ...
    }
 */
export function list(params){
    return fetch({
        url: '/logs',
        method: 'get',
        params
    });
}